package com.luke.springcloud;

import com.luke.springcloud.config.PersonConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Descrtption ConsulClientMain8755
 * @Author luke
 * @Date 2020/4/24
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigurationProperties({PersonConfig.class})
public class ConsulClientMain8755 {

    public static void main(String[] args) {
        SpringApplication.run(ConsulClientMain8755.class,args);
    }

}
